home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Environments / ProGraph251 / ProGraph v2.5 / Utilities I / Instance Finder ƒ / Instance Finder.ReadMe < prev   
Encoding:
Text File  |  1991-10-15  |  1.1 KB  |  21 lines  |  [TEXT/ttxt]

  1. Example:       Instance Finder
  2. Author:         Ehric Ho, TGS Systems
  3. Contents:      Instance Finder.pgs
  4.                     Instance Finder.ReadMe
  5.  
  6. Needs Prograph Extensions:
  7.                     Math Primitives
  8.                     TGS Primitives #1
  9.                     TGS Primitives #2
  10.                     Basic Toolbox
  11.  
  12. Needs Libraries to Compile:
  13.                     Library
  14.  
  15. Description
  16. -----------
  17.    Have you ever tried to delete a class and gotten the message "Class cannot be deleted because instances of the class exist"?  Then you can't find an instance of it anywhere, but you know it must be hiding somewhere?  This Instance Finder is a utility that prompts you for a class name, then searches default instances, class variables and persistents to find all instances of that class.  It makes extensive use of the System primitives (attributes, classes, persistents) and the Type primitives (instance?, list?).
  18.  
  19. How To Use This In Your Program
  20. -------------------------------
  21.    Selectively load the class "Instance Finder" into your file.  Execute the method "do it".